package StnNetworkResourcesNRMSystem;
/**
 * Generated from IDL enum "M3uaEntityTypeType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class M3uaEntityTypeType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _NO = 0;
	public static final M3uaEntityTypeType NO = new M3uaEntityTypeType(_NO);
	public static final int _M3UA_AS = 1;
	public static final M3uaEntityTypeType M3UA_AS = new M3uaEntityTypeType(_M3UA_AS);
	public static final int _SG = 2;
	public static final M3uaEntityTypeType SG = new M3uaEntityTypeType(_SG);
	public static final int _IPSP = 3;
	public static final M3uaEntityTypeType IPSP = new M3uaEntityTypeType(_IPSP);
	public int value()
	{
		return value;
	}
	public static M3uaEntityTypeType from_int(int value)
	{
		switch (value) {
			case _NO: return NO;
			case _M3UA_AS: return M3UA_AS;
			case _SG: return SG;
			case _IPSP: return IPSP;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _NO: return "NO";
			case _M3UA_AS: return "M3UA_AS";
			case _SG: return "SG";
			case _IPSP: return "IPSP";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected M3uaEntityTypeType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
